$ var showSimple=(input.showSimple == null ? true : input.showSimple);

<div class="app-discard">
	[app-discard]
	<app-simple name="John" message-count=50 key="simple" if(showSimple)/>
</div>